package com.wind.taobao.api.jianghu.rest
{
	import com.wind.taobao.api.jianghu.convert.PokeConvert;
	import com.wind.taobao.core.webservice.TaobaoResponse;

	import mx.collections.ArrayCollection;

	/**
	 * taobao.jianghu.pokes.getPokeInfoList Response
	 * @author fxy
	 *
	 */
	public class JianghuPokesGetPokeInfoListResponse extends TaobaoJianghuResponse
	{
		public var poke_info:ArrayCollection;

		public function JianghuPokesGetPokeInfoListResponse(response:TaobaoResponse=null)
		{
			super(response);
			initPoke_Info();
		}

		private function initPoke_Info():void
		{
			if (body != null && this.isSuccess)
			{
				if (this.format == "xml")
				{
					//暂未实现
				}
				else
				{
					if (body["pokes_getPokeInfoList_response"].hasOwnProperty("poke_info"))
						poke_info=PokeConvert.convertPokes(body["pokes_getPokeInfoList_response"]["poke_info"]);
				}
			}
		}

	}
}